import { createApp } from 'vue'
import {createPinia} from 'pinia'
import piniaPluginPersist from 'pinia-plugin-persist'
import App from './App.vue'
import router from '@/router'
import request from "@/common/http";
import requests from "@/common/requests";


const app = createApp(App)
const store = createPinia()
store.use(piniaPluginPersist)
app.use(store)
app.use(router)
app.use(requests, request)
app.mount('#app')
